package co.com.smart.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.persistence.entity.dto.SmartConsultorio;
import co.com.smart.persistence.entity.util.AbstractFacade;

/**
 * Session Bean implementation class ConsultorioFacade
 */
@Stateless(
		name		= "ConsultorioFacade", 
		mappedName 	= "ejb/ConsultorioFacade")
public class ConsultorioFacade extends AbstractFacade<SmartConsultorio> implements ConsultorioFacadeLocal {

	@PersistenceContext(unitName = "SnakeServicesPU")
	private EntityManager em;
	/**
	 * Default constructor. 
	 */
	public ConsultorioFacade() {
		super(SmartConsultorio.class);
	}
	
	@Override
	protected EntityManager getEntityManager() {
		return em;
	}

}
